<tr>{% for location in inventory_locations %}<td>{{location.qty_sum}}</td>{%endfor%}</tr>